package com.xiaoq.sites.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.xiaoq.sites.entity.LegendEntity;
import com.xiaoq.sites.repository.ILegendRepository;
import com.xiaoq.sites.service.ILegendService;
@Component
public class LegendServiceImpl implements ILegendService {
	
	@Autowired
	private ILegendRepository legendRep;

	@Override
	public List<LegendEntity> legendList() {
		// TODO Auto-generated method stub
		return legendRep.LegendList();
	}

}
